package com.zjitc.config;

import com.zjitc.obj.Teacher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/13 14:08
 * @description:
 */
@Configuration
public class Javaconfiguration1 {

  @Bean
  public Teacher teacher(){ return new Teacher();}
}
